package com.company.cloud.club.modules.core.dto;

import com.company.cloud.club.modules.core.util.CommonModel;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author buff
 */
@Data
public class DetailParam implements Serializable {

    @Min(0)
    private Integer id;

    public String getScene() {
        if (scene == null) {
            return CommonModel.DEFAULT_SCENE;
        }
        return scene;
    }

    private String scene;

    private String uname;

    private String type;


}
